package cn.edu.sdjzu.xg.eagle.service.inface;

import cn.edu.sdjzu.xg.eagle.entities.Statistics;

import java.sql.SQLException;
import java.util.List;

public interface StatisticsService {
    String addStatistic(Statistics statistic) throws SQLException;
    String deleteStatistic(int statisticId) throws SQLException;
    String updateStatistic(Statistics statistic) throws SQLException;
    Statistics findStatisticById(int statisticId) throws SQLException;
    List<Statistics> findAllStatistics() throws SQLException;
}